Skip to content

Small bug when not using photochemistry#365

Merged
dustinswales merged 10 commits into
ufs-community:ufs/devfrom
dustinswales:feature/mpas_in_ufs
Apr 29, 2026
Merged

Small bug when not using photochemistry#365
dustinswales merged 10 commits into
ufs-community:ufs/devfrom
dustinswales:feature/mpas_in_ufs

Conversation

@dustinswales

@dustinswales dustinswales commented Mar 20, 2026

Copy link
Copy Markdown
Collaborator

Description of Changes:

GFS_phys_time_vary has a dependency that the ozone and h2o photolysis are always active.

Tests Conducted:

Discovered when running the MPAS UWM RTs, which don't yet have photochemistry initialized.

Dependencies:

Add any links to parent PRs (e.g. SCM and/or UFS PRs) or submodules (e.g. rte-rrtmgp). For example:


!> - Update ozone concentration.
if (ntoz > 0) then
if (rjday < ozphys%time(1)) rjday = rjday + 365.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not familiar with the context here but isn't this off by a day for leap years?

@gspetro-NOAA

Copy link
Copy Markdown

Testing completed successfully for ufs-community/ufs-weather-model#3156. This PR can be merged.

@dustinswales

Copy link
Copy Markdown
Collaborator Author

@grantfirl @rhaesung Can one of you hit the button?

@dustinswales dustinswales merged commit 6904ad4 into ufs-community:ufs/dev Apr 29, 2026
3 checks passed
@grantfirl

Copy link
Copy Markdown
Collaborator

Thanks @dustinswales

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants